Misalign address in the test rather than structure
authorOpenJDK Team <openjdk-21@packages.debian.org>
Sat, 29 Nov 2025 18:56:59 +0000 (19:56 +0100)
committerMatthias Klose <doko@ubuntu.com>
Sat, 29 Nov 2025 18:56:59 +0000 (19:56 +0100)
commitd8fdd23d4f52fb242e02e7ba422d6b769f11288c
tree35d863ce8f8efe8b97973d56069873d966fb317d
parent521519bb174aec7b4647e19dc3b06725b6924d33
Misalign address in the test rather than structure

mk68-support.diff aligned metaspace structures by 4 bytes breaking the test.
Add 1 to address type rather than aligned structure to produce misaligned pointer.

Gbp-Pq: Name misalign-pointer-for-armhf.patch
test/hotspot/gtest/metaspace/test_is_metaspace_obj.cpp